/**
 * 报表jssdk
 */
;(function(global) {
	global.SeeyonApi = global.SeeyonApi || {};
	global.SeeyonApi.Report = {
        findResult : function(_params, _body, options) {
			return SeeyonApi.Rest.post('report/result', _params, _body, cmp.extend({}, options));
		},
		findRptIndexsResult : function(_params, _body, options) {
			return SeeyonApi.Rest.post('report/indexsResult', _params, _body, cmp.extend({}, options));
		},
		getReportById : function(designId, _params, options) {
			return SeeyonApi.Rest.get('report/' + designId + '', _params, '', cmp.extend({}, options));
		},
		getReportConfig :  function(_params,_body,options){
			return SeeyonApi.Rest.post('report/result/config' , _params, _body ,cmp.extend({},options));
		},
		getQueryResult: function (_params, _body, options) { 
			return SeeyonApi.Rest.post('report/result/query', _params, _body, cmp.extend({}, options)) 
		},
		getQueryPenetrate: function (_params, _body, options) { 
			return SeeyonApi.Rest.post('report/result/query/penetrate', _params, _body, cmp.extend({}, options)) 
		},
		getStatsResult: function (_params, _body, options) { 
			return SeeyonApi.Rest.post('report/result/stats', _params, _body, cmp.extend({}, options)) 
		},
		getStatsBarResult: function (_params, _body, options) { 
			return SeeyonApi.Rest.post('report/result/statsbar', _params, _body, cmp.extend({}, options)) 
		},
		getStatsLineResult: function (_params, _body, options) { 
			return SeeyonApi.Rest.post('report/result/statsline', _params, _body, cmp.extend({}, options)) 
		},
		getStatsPieResult: function (_params, _body, options) { 
			return SeeyonApi.Rest.post('report/result/statspie', _params, _body, cmp.extend({}, options)) 
		},
		getStatsRadarResult: function (_params, _body, options) { 
			return SeeyonApi.Rest.post('report/result/statsradar', _params, _body, cmp.extend({}, options)) 
		},
		getStatsPenetrate: function (_params, _body, options) { 
			return SeeyonApi.Rest.post('report/result/stats/penetrate', _params, _body, cmp.extend({}, options)) 
		},
		getStatsPenetrateInfo: function (_params, _body, options) { 
			return SeeyonApi.Rest.post('report/result/stats/penetrateinfo', _params, _body, cmp.extend({}, options)) 
		}
	}
})(this);
